<div id="userlist">
<br/>
<hr style="color:#e6af2b"/>
<table style="">
	<th>Exam Name</th>
	<th>Duration</th>
	<th>Start Time</th>
	<th>End Time</th>
	<!--<th class="action">Action</th>-->

<?php foreach( $exams as $exam ) : ?>
	<tr>
		<td><?php echo $exam['name'] ?></td>
		<td style="text-align:center;"><?php echo date('G:i', $exam['duration'] ) ?></td>
		<td style="text-align:center;"><?php echo date('D M j, Y g:ia', strtotime( $exam['start_time'] ) + 60*60*8 ) ?></td>
		<td style="text-align:center;"><?php echo date('D M j, Y g:ia', strtotime( $exam['end_time'] ) + 60*60*8 ) ?></td>
		<!--<td style="text-align:center;"></td>-->
	</tr>
<?php endforeach;?>

</table>

</div>
